php forum
php mysql forum
php mysql smarty
 
Page 7 of 7 < 1 2 3 4 5 6 7
Topic Options
#229977 - 04/10/03 03:10 PM Re: [6.2] Profile Birthdays 1.5 CRON ADDON [Re: sf49rminer]
Raconteur_dup1 Offline
Member

Registered: 01/29/03
Posts: 258
Loc: SF, CA
They added it... will know if it works on the 12th!
_________________________
"Some dream of doing great things, while others stay awake and get on with it."
      -- Anonymous

Top
#229978 - 04/11/03 12:07 AM Re: [6.2] Profile Birthdays 1.5 CRON ADDON [Re: ]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Worked.... finally had a day with no bdays. I updated the inital post too... so people dont' download the wrong thing. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#229979 - 04/11/03 09:27 AM Re: [6.2] Profile Birthdays 1.5 CRON ADDON [Re: sf49rminer]
jluerken Offline
Member

Registered: 08/27/02
Posts: 233
Thanks Josh, its working fine for me. It gives a message SENDING MAIL TO .<br /><br />Hopefully it had not send any mail <img src="/forum/images/graemlins/laugh.gif" alt="" /><br />For the posting its definetly working...
_________________________
Ciao jluerken
--------------------
www.uce-clan.de www.clanforums.com

[]http://www.uce-clan.de/images/uce_banner2.gif[/]

Top
#229980 - 04/11/03 10:59 AM Re: [6.2] Profile Birthdays 1.5 CRON ADDON [Re: Daine]
Raconteur_dup1 Offline
Member

Registered: 01/29/03
Posts: 258
Loc: SF, CA
Was that the update I sent you, Josh?
_________________________
"Some dream of doing great things, while others stay awake and get on with it."
      -- Anonymous

Top
#229981 - 04/11/03 11:52 AM Re: [6.2] Profile Birthdays 1.5 CRON ADDON [Re: ]
Raconteur_dup1 Offline
Member

Registered: 01/29/03
Posts: 258
Loc: SF, CA
Yeah! Our host is in Oz so they are a day ahead. Our April 12th b-day showed up as expected, and logging to the admin log happened (I added this instead of standard output, Josh).
_________________________
"Some dream of doing great things, while others stay awake and get on with it."
      -- Anonymous

Top
#229982 - 04/11/03 01:16 PM Re: [6.2] Profile Birthdays 1.5 CRON ADDON [Re: ]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Yes, cool. Thank you. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#229983 - 04/19/03 02:19 PM Re: [6.2] Profile Birthdays 1.5 CRON ADDON [Re: Daine]
Raconteur_dup1 Offline
Member

Registered: 01/29/03
Posts: 258
Loc: SF, CA
Hey Josh,<br /><br />Our servers are hosted in Oz... so I had to write a bit of code to accomodate the time diff. If you replace the first two lines of the mod to UBBTHREADS.PHP:<br /><br />
Code:
<br />$thismonth = date("M");<br />$today = date("d");<br />
<br /><br />with this:<br />
Code:
<br />$currtime = time ();<br />$currtime = $currtime+($user['U_TimeOffset']*3600);<br /><br />$date = date("d", $currtime);<br />$thismonth = date("M", $currtime);<br />
<br /><br />It will generate the correct date for the query provided the user has filled in their TimeOffset.
_________________________
"Some dream of doing great things, while others stay awake and get on with it."
      -- Anonymous

Top
#229984 - 04/19/03 02:51 PM Re: [6.2] Profile Birthdays 1.5 CRON ADDON [Re: ]
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
$currtime = time ();<br />$currtime = $currtime+($user['U_TimeOffset']*3600);<br /><br />could be simplified to<br /><br />$currtime = time() + $user['U_TimeOffset'] * 3600;
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top
#229985 - 04/20/03 06:52 PM Re: [6.2] Profile Birthdays 1.5 CRON ADDON [Re: joeuser]
Raconteur_dup1 Offline
Member

Registered: 01/29/03
Posts: 258
Loc: SF, CA
Thanks, Dave.<br /><br />This also needs to be added:<br />
Code:
<br />$currtime = time()+($user['U_TimeOffset']*3600);<br />$whatistoday = date("F jS",$currtime);<br />
<br /><br />below the lines:<br />
Code:
<br />// Require the threads library<br />require ("main.inc.php");<br />$userob = new user;<br />$user = $userob -&gt; authenticate("U_TimeOffset");<br />
<br /><br />in BIRTHDAYCRON.PHP<br /><br />Don't forget to remove the setting of $whatistoday up in the variables section.<br /><br />
_________________________
"Some dream of doing great things, while others stay awake and get on with it."
      -- Anonymous

Top
#229986 - 04/28/03 03:13 AM Re: [6.2] Profile Birthdays 1.5 [Re: Daine]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
This works for 6.2 and 6.3. It has been reposted here. Discussions continued there.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
Page 7 of 7 < 1 2 3 4 5 6 7



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks